  @layout("/admin/layout/main_form.html",{title:'编辑角色'}){
 @ DIRECTIVE SAFE_OUTPUT_OPEN;
 		<form action="${ctxPath}/admin/role/save" method="post" class="niceform" autocomplete="off">
         <input type="hidden" name="role.id" value="${role.id}" />
                <fieldset>
                    <dl>
                        <dt><label for="name">角色名称:</label></dt>
                        <dd><input type="text" name="role.name" value="${role.name}" id="name" size="24" /></dd>
                        <dd id="name_info">${name_info!}</dd>
                    </dl>
                    
                    <dl>
                        <dt><label for="gender">角色描述:</label></dt>
                        <dd><input type="text" name="role.memo" value="${role.memo}" id="memo" size="24" /></dd>
                        <dd id="memo_info">${memo_info!}</dd>
                    </dl>
                    <dl>
                        <dt><label for="name">角色编码:</label></dt>
                        <dd><input type="text" name="role.code" value="${role.code}" id="code" size="24" /></dd>
                        <dd id="code_info">${code_info!}</dd>
                    </dl>
                    <dl>
                        <dt><label for="color">角色状态</label></dt>
                        <dd>
                            <input type="radio" name="role.state" id="radio1" value="1" /><label for="radio1" class="check_label">启用</label>
                            <input type="radio" name="role.state" id="radio2" value="0" /><label for="radio2" class="check_label">禁用</label>
                        </dd>
                    </dl>
                    
                     <dl class="submit">
                     <dd>
                    	<input type="submit" id="submit" value="提交" />
                    </dd>
                     </dl>
                     
                     
                    
                </fieldset>
                
         </form>
@}
